﻿namespace Api.Shared.Utils
{
    public class XyApiResponse
    {
        public string? Message { get; set; }

        public bool Status { get; set; }

        public object? Result { get; set; }

        public int Code { get; set; }
    }

    public class XyApiResponse<T> where T : class, new()
    {
        public string? Message { get; set; }

        public bool Status { get; set; }

        public T? Result { get; set; }

        public int Code { get; set; }
    }
}
